[INFO] cloning repository https://github.com/ThersVV/Rust-Game-of-Life
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ThersVV/Rust-Game-of-Life" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThersVV%2FRust-Game-of-Life", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThersVV%2FRust-Game-of-Life'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9025a7832ed3ceabbc30fbec70b06bb008409c6d
[INFO] fixing ThersVV/Rust-Game-of-Life against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThersVV%2FRust-Game-of-Life" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ThersVV/Rust-Game-of-Life
[INFO] finished tweaking git repo https://github.com/ThersVV/Rust-Game-of-Life
[INFO] tweaked toml for git repo https://github.com/ThersVV/Rust-Game-of-Life written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ThersVV/Rust-Game-of-Life on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ThersVV/Rust-Game-of-Life already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 6237df2a47f700d446cb7250db2818b5dcafcc6d05d0ee721e611e69904cb788
[INFO] running `Command { std: "docker" "start" "6237df2a47f700d446cb7250db2818b5dcafcc6d05d0ee721e611e69904cb788", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6237df2a47f700d446cb7250db2818b5dcafcc6d05d0ee721e611e69904cb788" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6237df2a47f700d446cb7250db2818b5dcafcc6d05d0ee721e611e69904cb788", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6237df2a47f700d446cb7250db2818b5dcafcc6d05d0ee721e611e69904cb788" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr]    Compiling libc v0.2.124
[INFO] [stderr]    Compiling crossbeam-utils v0.8.8
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling proc-macro2 v1.0.37
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.8
[INFO] [stderr]    Compiling rayon-core v1.9.2
[INFO] [stderr]    Compiling log v0.4.16
[INFO] [stderr]    Compiling syn v1.0.91
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling rayon v1.5.2
[INFO] [stderr]    Compiling version-compare v0.1.0
[INFO] [stderr]    Compiling xml-rs v0.8.4
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]     Checking adler32 v1.2.0
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]     Checking weezl v0.1.6
[INFO] [stderr]     Checking ttf-parser v0.6.2
[INFO] [stderr]     Checking deflate v0.8.6
[INFO] [stderr]     Checking miniz_oxide v0.3.7
[INFO] [stderr]    Compiling sdl2-sys v0.35.2
[INFO] [stderr]    Compiling sdl2 v0.35.2
[INFO] [stderr]     Checking ab_glyph_rasterizer v0.1.5
[INFO] [stderr]     Checking bytemuck v1.9.1
[INFO] [stderr]     Checking gif v0.11.3
[INFO] [stderr]     Checking piston-texture v0.8.0
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]     Checking crossbeam-channel v0.5.4
[INFO] [stderr]     Checking interpolation v0.2.0
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling gl_generator v0.13.1
[INFO] [stderr]     Checking spin_sleep v1.1.1
[INFO] [stderr]     Checking png v0.16.8
[INFO] [stderr]     Checking crossbeam-deque v0.8.1
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking owned_ttf_parser v0.6.0
[INFO] [stderr]    Compiling gl v0.13.0
[INFO] [stderr]     Checking rusttype v0.9.2
[INFO] [stderr]     Checking piston2d-graphics v0.42.0
[INFO] [stderr]     Checking jpeg-decoder v0.1.22
[INFO] [stderr]     Checking tiff v0.6.1
[INFO] [stderr]     Checking image v0.23.14
[INFO] [stderr]     Checking pistoncore-input v1.0.1
[INFO] [stderr]     Checking pistoncore-window v0.47.1
[INFO] [stderr]     Checking pistoncore-event_loop v0.53.1
[INFO] [stderr]     Checking pistoncore-sdl2_window v0.68.0
[INFO] [stderr]     Checking piston v0.53.1
[INFO] [stderr]     Checking piston2d-opengl_graphics v0.80.0
[INFO] [stderr]     Checking gol v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/main.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.87s
[INFO] [stderr] crater-edition-check: gol v0.1.0 (/opt/rustwide/workdir) updating edition from 2018 to 2021
[INFO] [stderr]     Checking gol v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:162:29
[INFO] [stdout]     |
[INFO] [stdout] 162 | ...                   &grid_copy.insert(cords.clone(), Life::Alive);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 162 |                             let _ = &grid_copy.insert(cords.clone(), Life::Alive);
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:164:29
[INFO] [stdout]     |
[INFO] [stdout] 164 | ...                   &grid_copy.remove(cords);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 164 |                             let _ = &grid_copy.remove(cords);
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:166:29
[INFO] [stdout]     |
[INFO] [stdout] 166 | ...                   &grid_copy.insert(cords.clone(), Life::Dead);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 166 |                             let _ = &grid_copy.insert(cords.clone(), Life::Dead);
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:162:29
[INFO] [stdout]     |
[INFO] [stdout] 162 | ...                   &grid_copy.insert(cords.clone(), Life::Alive);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 162 |                             let _ = &grid_copy.insert(cords.clone(), Life::Alive);
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:164:29
[INFO] [stdout]     |
[INFO] [stdout] 164 | ...                   &grid_copy.remove(cords);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 164 |                             let _ = &grid_copy.remove(cords);
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:166:29
[INFO] [stdout]     |
[INFO] [stdout] 166 | ...                   &grid_copy.insert(cords.clone(), Life::Dead);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 166 |                             let _ = &grid_copy.insert(cords.clone(), Life::Dead);
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.21s
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr]     Checking gol v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/main.rs:114:29
[INFO] [stdout]     |
[INFO] [stdout] 114 |     while let Some(event) = events.next(&mut window) {
[INFO] [stdout]     |                    -----    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                    |        |
[INFO] [stdout]     |                    |        this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                    |        up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                    `event` calls a custom destructor
[INFO] [stdout]     |                    `event` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 189 |     }
[INFO] [stdout]     |     - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]     = note: `event` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/main.rs:142:29
[INFO] [stdout]     |
[INFO] [stdout] 142 | ...                   &grid.insert(mouse_coords_as_cords, Life::Alive)},
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this temporary value will be dropped at the end of the block
[INFO] [stdout]     |                       borrow later used here
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.70s
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/main.rs:114:29
[INFO] [stdout]     |
[INFO] [stdout] 114 |     while let Some(event) = events.next(&mut window) {
[INFO] [stdout]     |                    -----    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                    |        |
[INFO] [stdout]     |                    |        this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                    |        up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                    `event` calls a custom destructor
[INFO] [stdout]     |                    `event` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 189 |     }
[INFO] [stdout]     |     - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]     = note: `event` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/main.rs:142:29
[INFO] [stdout]     |
[INFO] [stdout] 142 | ...                   &grid.insert(mouse_coords_as_cords, Life::Alive)},
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this temporary value will be dropped at the end of the block
[INFO] [stdout]     |                       borrow later used here
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] crater-edition-check: gol v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking gol v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]    --> src/main.rs:142:30
[INFO] [stdout]     |
[INFO] [stdout] 142 | ...                   &grid.insert(mouse_coords_as_cords, Life::Alive)},
[INFO] [stdout]     |                       -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
[INFO] [stdout]     |                       ||                                             |
[INFO] [stdout]     |                       ||                                             temporary value is freed at the end of this statement
[INFO] [stdout]     |                       |creates a temporary value which is freed while still in use
[INFO] [stdout]     |                       borrow later used here
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0716`.
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]    --> src/main.rs:142:30
[INFO] [stdout]     |
[INFO] [stdout] 142 | ...                   &grid.insert(mouse_coords_as_cords, Life::Alive)},
[INFO] [stdout]     |                       -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
[INFO] [stdout]     |                       ||                                             |
[INFO] [stdout]     |                       ||                                             temporary value is freed at the end of this statement
[INFO] [stdout]     |                       |creates a temporary value which is freed while still in use
[INFO] [stdout]     |                       borrow later used here
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0716`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `gol` (bin "gol" test) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `gol` (bin "gol") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "6237df2a47f700d446cb7250db2818b5dcafcc6d05d0ee721e611e69904cb788", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6237df2a47f700d446cb7250db2818b5dcafcc6d05d0ee721e611e69904cb788", kill_on_drop: false }`
[INFO] [stdout] 6237df2a47f700d446cb7250db2818b5dcafcc6d05d0ee721e611e69904cb788
